﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tamias.BasicCmsPortableArea.Messages;
using MvcContrib.PortableAreas;
using Tamias.DefaultImplementation.Data;

namespace Tamias.DefaultImplementation.MessageHandlers
{
    public class GetGroupMessageHandler : MessageHandler<GetGroupMessage>
    {
        public override void Handle(GetGroupMessage message)
        {
            var data = new ContentGroupData();
            message.Group = data.Get(message.GroupId);
        }
    }
}
